package com.service;

import com.mapper.ManagerMapper;
import com.po.Manager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 阳幸子 on 2018/4/21.
 */
@Service
public class ManagerService {
    @Autowired
    private ManagerMapper managerMapper;
    public Manager login(Manager manager){
        return managerMapper.login(manager);
    }

    public void register(Manager manager){
        managerMapper.register(manager);
    }
}
